package com.lieve.tx.redis;

import org.redisson.Redisson;
import org.redisson.api.RedissonClient;
import org.redisson.config.Config;

/**
 * @author sunyoboy
 * 2021/5/24
 */
public class RedissionTest {
    public static void main(String[] args) {
        Config config = new Config();
        RedissonClient redisson = Redisson.create();
        redisson.getLock("aa");
        redisson.getFairLock("B");
    }
}
